package com.qitmiaojie.service;

import com.qitmiaojie.controller.utils.Result;
import com.qitmiaojie.pojo.Malfunction;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface MalfunctionService extends IService<Malfunction> {

    Result insetMalfunction(Malfunction malfunction);


    Result getAllById();

    Result del(Integer id);


    Result evaluate(Integer id, Integer value, String advice);

    Result getMalfunctionAll(String date, String floor, String address, String phone, Integer status, Integer currentPage, Integer size);

    Result updateMalfunctionStatusById(Integer id, Integer status);
}
